package aspect;

import org.springframework.stereotype.Component;

@Component("businessClass")
public class BusinessClass {

	private String businessmsg="商务合同";
	
	public String getBusinessmsg() {
		return businessmsg;
	}

	public void setBusinessmsg(String businessmsg) {
		this.businessmsg = businessmsg;
	}

	public void doJobBefore()
	{
		System.out.println("before BusinessClass is doing its core job");
	}
	
	public void doJobAfter()
	{
		System.out.println("after BusinessClass is doing its core job");
	}
	
	public void doJobAfterPara(String businessmsg)
	{
		this.businessmsg=businessmsg;
		System.out.println("after BusinessClass is doing its core job");
	}
	
	public void doJobAround()
	{
		System.out.println("around BusinessClass is doing its core job");

	}

}
